package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmCommentLikeDTO;
import com.heima.model.wemedia.dtos.WmCommentPageReqDTO;
import com.heima.model.wemedia.dtos.WmCommentRepayDTO;

/**
 * @author:Dikk
 * @create: 2023-08-03 10:03
 * @Description: WmCommentService
 */
public interface WmCommentService {

    /**
     * 自媒体端回复评论
     *
     * @param wmCommentRepayDTO
     * @return
     */
    ResponseResult commentRepay(WmCommentRepayDTO wmCommentRepayDTO);

    /**
     * 删除评论
     *
     * @param commentId
     * @return
     */
    ResponseResult deleteComment(String commentId);

    /**
     * 删除评论回复
     *
     * @param commentRepayId
     * @return
     */
    ResponseResult deleteCommentRepay(String commentRepayId);

    /**
     * 查看评论列表
     *
     * @param wmCommentPageReqDTO
     * @return
     */
    ResponseResult findNewsComments(WmCommentPageReqDTO wmCommentPageReqDTO);
}
